package com.epoint.mobileoa.tools.controls.tree;


import android.content.Context;
import android.content.Intent;

/**
 * @author liyc
 * @time 2012-4-16 下午3:50:13
 * @annotation 
 */
public class NewTree {
	public NewTree(Context con,String treetitle,String itemname,int rootlength,String unleafchoose,String style,boolean parentchoose,int type){
		Intent it = new Intent(con,Tree.class);
		//树目录名称
		it.putExtra("treetitle", treetitle);
		//代码项Main名称
		it.putExtra("itemname", itemname);
		//根ItemValue长度
		it.putExtra("rootlength", rootlength);
		//根ItemValue值
		it.putExtra("rootitemvalue", unleafchoose);
		//非叶节点是否可选
		it.putExtra("unleafchoose", parentchoose);
		
		it.putExtra("style", style);
		
		it.putExtra("type", type);
		
		con.startActivity(it);
	}
}
